package com.homework.entity;


import org.springframework.stereotype.Component;

@Component
public class Cat {
    public Integer cno;
    public String cname;
    public Integer cage;
    public String species;
    public String master;

    public Cat() {
    }

    public Cat(Integer cno, String cname, Integer cage, String species, String master) {
        this.cno = cno;
        this.cname = cname;
        this.cage = cage;
        this.species = species;
        this.master = master;
    }

    @Override
    public String toString() {
        return "Cat{" +
                "cno=" + cno +
                ", cname='" + cname + '\'' +
                ", cage=" + cage +
                ", species='" + species + '\'' +
                ", master='" + master + '\'' +
                '}';
    }

    public Integer getCno() {
        return cno;
    }

    public void setCno(Integer cno) {
        this.cno = cno;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Integer getCage() {
        return cage;
    }

    public void setCage(Integer cage) {
        this.cage = cage;
    }

    public String getSpecies() {
        return species;
    }

    public void setSpecies(String species) {
        this.species = species;
    }

    public String getMaster() {
        return master;
    }

    public void setMaster(String master) {
        this.master = master;
    }
}
